package com.wenjie.gateway.aspect.annotations;


import com.wenjie.gateway.enums.ClentType;
import io.swagger.annotations.ApiModelProperty;

import java.lang.annotation.*;

/**
 * @Author wenjie
 * @Date 2023/7/4
 * @Description: TODO controller层的数据权限校验,加上注解后，控制访问范围
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface PowerAnnotation {

    @ApiModelProperty("支持的查询权限") ClentType value();
}
